package cn.hashq.netpoststation.service;

import cn.hashq.netpoststation.dto.AddPortMapDTO;
import cn.hashq.netpoststation.entity.PortMap;
import cn.hashq.netpoststation.vo.ServerResponse;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * 端口映射服务类
 *
 * @author HashQ
 * @since 1.0
 */
public interface PortMapManagerService extends IService<PortMap> {

    /**
     * 添加端口映射
     */
    ServerResponse addPortMap(AddPortMapDTO portMapDTO);

    ServerResponse listPortMap();

    ServerResponse removePortMap(Long id);

    ServerResponse notifyPortMapStatus(Long id);
}
